<template>
  <div class="app-container home">
    <el-row :gutter="20">
      <el-col :sm="24" :lg="24">
        <blockquote class="text-muted" style="font-size: 30px">
          SmartLabSystem
        </blockquote>
      </el-col>
    </el-row>



      <el-col :sm="24" :lg="12" style="padding-left: 20px">
        <span style="font-size: 20px">欢迎使用智慧实验室系统</span>
        <el-divider content-position="left">ver:0.01</el-divider>
        <span></span>
        <el-carousel indicator-position="outside">
          <el-carousel-item v-for="item in itemList" :key="item">
            <el-image :src=item.url ></el-image>
          </el-carousel-item>
        </el-carousel>
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span style="font-size: 15px">通知事项</span>
            <el-button style="float: right; padding: 3px 0" type="text">确认已读</el-button>
          </div>
          <div>暂无通知</div>
        </el-card>
      </el-col>

      <el-col :sm="24" :lg="12" style="padding-left: 50px">
        <p class="text-shadow-light" style="font-size: 20px">日历</p>
        <el-calendar v-model="value">
        </el-calendar>
      </el-col>



  </div>
</template>

<script>

export default {
  name: "index",
  data() {
    return {
      // 版本号
      version: "3.4.0",
      value: new Date(),
      itemList:[
        {
          url: 'http://www.sxsure.com/uploadfile/2018/0403/20180403102343607.jpg'
        },
        {
          url: 'https://image.lnstzy.cn/aoaodcom/2019-10/30/20191030080917951e7adbc2b9796a25953d4e2bc4cb34.jpg.h700.jpg'
        }
      ],

    };
  },
  methods: {
    goTarget(href) {
      window.open(href, "_blank");
    },
  },



};

</script>

<style scoped lang="scss">
.home {
  blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee;
  }
  hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
  }
  .col-item {
    margin-bottom: 20px;
  }

  ul {
    padding: 0;
    margin: 0;
  }

  font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #676a6c;
  overflow-x: hidden;

  ul {
    list-style-type: none;
  }

  h4 {
    margin-top: 0px;
  }

  h2 {
    margin-top: 10px;
    font-size: 26px;
    font-weight: 100;
  }

  p {
    margin-top: 10px;

    b {
      font-weight: 700;
    }
  }

  .update-log {
    ol {
      display: block;
      list-style-type: decimal;
      margin-block-start: 1em;
      margin-block-end: 1em;
      margin-inline-start: 0;
      margin-inline-end: 0;
      padding-inline-start: 40px;
    }
  }
}

//走马灯
.el-carousel__item h3 {
  color: #475669;
  font-size: 18px;
  opacity: 0.75;
  line-height: 300px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}
</style>

